Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

179
Visualizações
what are ".js.map" files?

I cloned a repo with a build command that runs webpack and it generates an index.js and index.map.js file. I assume index.js is a minified version of all the code, but what is index.map.js?

about 4 years ago · Juan Pablo Isaza
2 Respostas
Responde à pergunta

0

The config devtool: 'source-map' in webpack.config.js generated this file when you built it.

Why it is needed?

You can run minified Javascript or transpiled Javascript which is good for performance, but not particularly helpful when debugging. Source maps are a way for modern browsers to take the minified code (js, css) and allow us to read the code in its unminified state in the debugger.

Further reading,

  • Introduction to JavaScript Source Maps
  • What is the purpose of source maps?
about 4 years ago · Juan Pablo Isaza Relatório

0

You have devtool: 'source-map' in the webpack.config.js file.

.map files are sourcemaps for debugging purposes. I suggest you read what a source map is.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda